<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">    
    <p:dialog widgetVar="login" header="#{i18n['login.button.login']}">
        <div>
            <div style="width: 100%">
                <p:fieldset >
                    <table width="100%">
                        <tr>
                            <td>
                                <label style="font-weight: bold;">#{i18n['login.username']}</label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <p:inputText value="#{projectBackingBean.project.name}" style="width: 100%"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label style="font-weight: bold;">#{i18n['login.password']}</label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="80%">
                                <p:inputText value="#{projectBackingBean.project.description}" style="width: 100%"/>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <p:commandButton value="#{i18n['login.button.login']}"/>
                            </td>
                        </tr>
                    </table>
                </p:fieldset>
            </div>
        </div>
    </p:dialog>
</ui:composition>